package dto

import	"github.com/vueadmin/utils/common/request"

/**
 * @description(数据列表)
 * @buildcode(true)
*/
type TestPageReq struct {
	request.PageReq
	TestId    *int   `json:"test_id"` //主键id
	Title string `json:"title"` //标题 
	OnlyTrashed bool   `json:"onlyTrashed"` //软删除查询标记
}

/**
 * @description(添加)
 * @buildcode(true)
*/
type TestAddReq struct {
	Title string `json:"title"` //标题 
	Status int8 `json:"status"` //状态 开启-1;关闭-0
}

/**
 * @description(修改)
 * @buildcode(true)
*/
type TestUpdateReq struct {
	TestId     int   `json:"test_id" validate:"required" label:"编号"` //主键id
	Title string `json:"title"` //标题 
	Status int8 `json:"status"` //状态 开启-1;关闭-0
}

/**
 * @description(获取修改方法详情)
 * @buildcode(true)
*/
type TestGetUpdateInfoReq struct {
	TestId         int  `json:"test_id" validate:"required" label:"编号"` //主键id
}

/**
 * @description(删除)
 * @buildcode(true)
*/
type TestDeleteReq struct {
	TestId     []int   `json:"test_id" validate:"required" label:"编号"` //主键id
	OnlyTrashed bool   `json:"onlyTrashed"` //物理删除标记
}

/**
 * @description(查看详情)
 * @buildcode(true)
*/
type TestDetailReq struct {
	TestId     int   `json:"test_id" validate:"required" label:"编号"` //主键id
}

/**
 * @description(软删除恢复数据)
 * @buildcode(true)
*/
type TestRestoreReq struct {
	TestId          []int   `json:"test_id" validate:"required" label:"编号"` //主键id
}

